package com.tjh.springbootapi.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.tjh.springbootapi.enums.*;

/**
 * Generated on 2020-03-21
 * 
 */
public class PageHelper implements Serializable {

    // ID - varchar(32)
    @TableId(value = "ID", type = IdType.UUID)
    private String id;

    // 数据状态（0-启用；1-禁用） - decimal(1,0)
    @TableField("STATE")
    private StateEnum state;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public StateEnum getState() {
        return state;
    }

    public void setState(StateEnum state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "PageHelper{" +
            "id=" + id +
            ", state=" + state +
        "}";
    }
}








